Yaf, short for YetAnotherFramework, is a PHP framework written in C language. Yaf has been in contact with Yaf for nearly one year. Yaf has a very good performance, but there are few materials available. I always wanted to use PHPUnit on Yaf. I
PHP framework Yaf learning notes ---- Default behavior Yaf is a PHP framework written in C language. it is in the form of php Extensions. is it laruence )? Laruence is a member of the PHP development team, who is a member of the PECL developer. Yaf,
PHP framework Yaf learning notes ---- Default behavior Yaf is a PHP framework written in C language. it is in the form of php Extensions. is it laruence )? The work laruence is a member of the PHP development team. PECL developer. Yaf, Taint, and
PHP framework Yaf learning notes ---- Default behavior Yaf is a PHP framework written in C language. it is in the form of php Extensions. is it laruence )? The work laruence is a member of the PHP development team. PECL developer. Yaf, Taint, and
1, download yaf Source package yaf-2.2.9.tar.gz, and upload it to the server specified location, and then unzip and install:[Email protected] src]# TAR-XVF yaf-2.2.9.tar.gzEnter the extracted directory:[Email protected] src]# CD yaf-2.2.9One
This article mainly introduces about the YAF Framework installation Guide, has a certain reference value, now share to everyone, the need for friends can refer to
Speaking of the PHP framework, many people's impressions are stuck in a code package
An important function of the framework is to automatically load the class. in the first demo, we agreed on the directory structure of our project, the framework automatically loads the required class files based on the directory structure. An
The first two blogs about PHP's own class loading and composer automatic loading, in fact, the YAF framework also implements the automatic loading of classes based on PSR0 and PSR4. Write this blog based on my understanding of how the Yaf class
0
-->
$velocityCount-->
-->
Help you quickly get started with the Yaf framework
1.
[Code][PHP] code
1. the organization directory structure is easy to understand for those who have used the framework. for those who have not used the framework, we
Directory structure
+ Public +application/+ +
Entry file
The portal file is the entry for all requests, and it is generally the rewrite rule that redirects all requests to the portal file.
A classic entry file public/index.php
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.